<div class="page-group">
    <div class="page page-current" id="page-usercenter">
    	<div ng-include="sys_html('common/footer')"></div>
		<div class="content native-scroll">
			<div class="list-block media-list" style="margin: 1rem 0;">
		      <ul>
		        <li>
		          <a href="javascript:;" class="item-link item-content">
		            <div class="item-media"><img ng-src="{{tomedia(pagedata.item.avatar)}}"  style="width:70px;height:70px;border: 1px solid #D9D9D9;border-radius: .4rem;"></div>
		            <div class="item-inner" style="padding-top: .95rem;">
		              <div class="item-title-row">
		                <div class="item-title">{{pagedata.item.username}}</div>
		                <div class="item-after" style="margin-top: .6rem;position: absolute;right: 1.5rem;"><i class="icon iconfont icon-qrcode"></i></div>
		              </div>
		              <div class="item-subtitle">挪车卡：{{pagedata.item.card_number || '未绑定'}}</div>
		            </div>
		          </a>
		        </li>
		      </ul>
		    </div>
			<div class="list-block carmess usercenter" style="margin: 1.2rem 0;">
		      <ul>
		        <li>
		            <a href="javascript:;" ng-click="access_json('/member.mycar/')" class="item-link item-content">
		            	<div class="item-media"><i class="icon iconfont icon-taxi"></i></div>
		              	<div class="item-inner">
		                	<div class="item-title">我的爱车</div>
		              	</div>
		            </a>
		        </li>
				<li>
		            <a href="javascript:;" ng-click="access_json('/member.apply/')" class="item-link item-content">
		            	<div class="item-media"><i class="icon iconfont icon-taxi"></i></div>
		              	<div class="item-inner">
		                	<div class="item-title">我的挪车卡订单</div>
		              	</div>
		            </a>
		        </li>
				<li>
		            <a href="javascript:;" ng-click="access_json('core/member.cpassword/')" class="item-link item-content">
		            	<div class="item-media"><i class="icon iconfont icon-commentfill"></i></div>
		              	<div class="item-inner">
		                	<div class="item-title">账号密码</div>
		              	</div>
		            </a>
		        </li>
				<li>
		            <a href="javascript:;" ng-click="access_json('member.join/')" class="item-link item-content">
		            	<div class="item-media"><i class="icon iconfont icon-settings"></i></div>
		              	<div class="item-inner">
		                	<div class="item-title">我要加盟</div>
		              	</div>
		            </a>
		        </li>
		      </ul>
		    </div>
			<div class="list-block carmess usercenter" ng-if="pagedata.agent && pagedata.agent.type<4" style="margin: 1.2rem 0;">
		      <ul>
		        
		        <li >
		            <a href="javascript:;" ng-click="access_json('/agent.member/')" class="item-link item-content">
		            	<div class="item-media"><i class="icon iconfont icon-form"></i></div>
		              	<div class="item-inner">
		                	<div class="item-title">我的团队</div>
		              	</div>
		            </a>
		        </li>
				<li >
		            <a href="javascript:;" ng-click="access_json('/agent.area/')" class="item-link item-content">
		            	<div class="item-media"><i class="icon iconfont icon-form"></i></div>
		              	<div class="item-inner">
		                	<div class="item-title">我代理的地区</div>
		              	</div>
		            </a>
		        </li>
		        <li>
		            <a href="javascript:;" ng-click="access_json('/agent.commission/')" class="item-link item-content">
		            	<div class="item-media"><i class="icon iconfont icon-writefill"></i></div>
		              	<div class="item-inner">
		                	<div class="item-title">我的佣金</div>
		              	</div>
		            </a>
		        </li>
				<li>
		            <a href="javascript:;" ng-click="access_json('/agent.balance/')" class="item-link item-content">
		            	<div class="item-media"><i class="icon iconfont icon-writefill"></i></div>
		              	<div class="item-inner">
		                	<div class="item-title">我的结算</div>
		              	</div>
		            </a>
		        </li>
				<li>
		            <a href="javascript:;" ng-click="post_json('/agent.commission/balance')" class="item-link item-content">
		            	<div class="item-media"><i class="icon iconfont icon-writefill"></i></div>
		              	<div class="item-inner">
		                	<div class="item-title">申请结算</div>
		              	</div>
		            </a>
		        </li>
		        <li>
		            <a href="javascript:;" ng-click="pagedata.show_ewm()" class="item-link item-content">
		            	<div class="item-media"><i class="icon iconfont icon-questionfill"></i></div>
		              	<div class="item-inner">
		                	<div class="item-title">我的二维码</div>
		              	</div>
		            </a>
		        </li>
		        
		      </ul>
		    </div>
		    
		    <div class="wlcopyright">
				{{pagedata.setting.copyright}}
			</div>
		</div> 
	</div>
</div>
<div id="show_ewm"  class="modal fade" tabindex="-1" style="position:fixed;top:20%;z-index:99999;display:none;">
		<div class="modal-dialog" style="margin-bottom:216px">
				<div class="wap-qrcode-container">
					<button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button>
					<p class="example1">我的二维码</p>
					<div class="wap-qrcode-image" id="my-qrcode">
						
					</div>
					<p class="example1">将此二维码展示给下级代理商！</p>
			</div>
		</div>
</div>
<script>
scope.pagedata.show_ewm=function(){
	//显示二维码
	scope.qrcode(scope.pagedata.item,'url','my-qrcode');
	$('#show_ewm').modal();
}
scope.pagedata.scan_add=function(){
	//扫码加代理
	wx.scanQRCode({});
}
</script>